package knowse.app.daos;

import android.content.ContentValues;
import android.database.sqlite.SQLiteDatabase;
import android.util.Log;

public class ProjectDAO {
	protected static final String TABLE = "Project";
	protected static final String _NAME = "_Name";
	
	public ProjectDAO(){
		
	}
	
	//insert methods to retrieve and update the database.
	
	
	public void store(){
		ContentValues values= new ContentValues();
		values.put(_NAME, "KnowSE");
		SQLiteDatabase db = new DBHelper().getWritableDatabase();
		
		Long bla = db.insert(TABLE, null, values);
		Log.i("ProjectDAO ", bla.toString());		
		db.close();
	}
}
